package com.dstz.demo.core.dao;
import com.dstz.base.dao.BaseDao;
import com.dstz.demo.core.model.BusRecord;

import java.util.List;

/**
 * 乘车记录表 DAO接口
 * @author aschs
 * @email aschs@qq.com
 * @time 2020-02-21 21:20:59
 */
public interface BusRecordDao extends BaseDao<String, BusRecord> {

    /**
     * 查询用户的乘车记录
     *
     * @param userId
     * @return
     */
     List<BusRecord> findByUserId(Integer userId);
}
